/**
 * @Author: 芦小星
 * @Date: 2019/10/08
 * @Last Modified by:   芦小星
 * @Last Modified time: 2019/10/08 15:45:00
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 查询累计积分优惠率
export const SearchList = params => axios.get(`${SERVER.MEMBERS_CLUB}/disrate/queryDisrateInfo`, { params });

// 保存优惠率
export const SaveInfo = params => axios.post(`${SERVER.MEMBERS_CLUB}/disrate/saveDisrateInfo`, params);

// 删除优惠率
// export const DeleteInfo = params => axios.post(`${SERVER.MEMBERS_MEMBER}/disrate//deleteDisrateInfo`, params);

// 查询累计积分优惠率
export const DeleteInfo = params => axios.get(`${SERVER.MEMBERS_CLUB}/disrate/deleteDisrateInfo`, { params });
